<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ page import="java.util.*" %>
<%@ page import="com.chanyachting.emall.util.*"%>
<%@ page import="com.chanyachting.emall.domain.*" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
<h2><span class="red">招聘求职</span></h2>
      <div class="tab_menu">
        <ul>
          <li class="selected">人才求职</li>
          <li onclick="callOfferServer(1);">公司招聘</li>
        </ul>
      </div>
      <div class="tab_box">
        <div>
          <div class="hr">
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <thead>
                <tr>
                  <logic:notEmpty name="jobSearchForm" property="jobList">
                  <th width="24%">意向职位</th>
                  <th width="15%">姓名</th>
                  <th width="8%">性别</th>
                  <th width="20%">工作地点</th>
                  <th width="21%">工作经验</th>
                  <th width="12%">学历</th>
                  </logic:notEmpty>
                  <logic:empty name="jobSearchForm" property="jobList">
                  <th width="24%">&nbsp;</th>
                  <th width="15%">&nbsp;</th>
                  <th width="8%">&nbsp;</th>
                  <th width="20%">&nbsp;</th>
                  <th width="21%">&nbsp;</th>
                  <th width="12%">&nbsp;</th>
                  </logic:empty>
                </tr>
              </thead>
		      <tbody>
		      <logic:iterate id="jobs" name="jobSearchForm" property="jobList" indexId="i">
      			<% String hasStyle = "class=\"light\""; if(i % 2 == 1) { hasStyle = "";}  %>
            <tr>
              <td <%=hasStyle %>><bean:define id="wantPostId" name="jobs" property="wantPost"/>
                <% String wantPostStr = CodeMap.getJobTypeByKey(wantPostId.toString()); %><%=wantPostStr %>&nbsp;</td>
              <td <%=hasStyle %>><a href="readJob.do?id=${jobs.id }">${jobs.memberName }</a></td>
              <td <%=hasStyle %>><bean:define id="sexId" name="jobs" property="memberSex"/>
              	<% String sexStr = CodeMap.getSexByKey(sexId.toString()); %><%=sexStr %></td>
              <td <%=hasStyle %>>
				<bean:define id="wantJobAddressId" name="jobs" property="wantJobAddress"/>
              	<% String jobAddStr = CodeMap.getToJobAreaByKey(wantJobAddressId.toString()); %><%=jobAddStr %></td>
              <td <%=hasStyle %>>
				<bean:define id="workExpId" name="jobs" property="workExperience"/>
              	<% String workExpStr = CodeMap.getInjobTimeByKey(workExpId.toString()); %><%=workExpStr %></td>
              <td <%=hasStyle %>>
				<bean:define id="schoolageId" name="jobs" property="schoolage"/>
              	<% String schoolageStr = CodeMap.getEduNameByKey(schoolageId.toString()); %><%=schoolageStr %></td>
            </tr>
            </logic:iterate>
		      <logic:empty name="jobSearchForm" property="jobList"><tr><td colspan="6">本频道无信息！</td></tr></logic:empty>
		    </tbody>
		    </table>
          </div>
          <div class="more_red"><a href="/chinayachting/frontend/hr/talentHJob.do" title="more&gt;&gt;"><span>more&gt;&gt;</span></a></div>
        </div>
    </div>